package com.hn.vue.security;

import com.hn.vue.vo.ResponseVo;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseStatus;
import org.springframework.web.bind.annotation.RestController;

/**
 * hanni
 * 2019/3/8 0008
 * 9:38
 */
@RestController
public class LoginController {

    @GetMapping("/tologin")
    @ResponseStatus(HttpStatus.FORBIDDEN)
    public ResponseVo toLogin(){

        return new ResponseVo("403","请重新登录");
    }
}
